<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Bootstrap 实例 - 水平表单</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <style>
        form{
            width:800px;
        }
    </style>
</head>
<body>

<form class="form-horizontal" role="form" action="{:url('/handleData')}" method="post" enctype="multipart/form-data">
    <div class="form-group">
        <label for="firstname" class="col-sm-2 control-label">请选择举报类型</label>
        <div class="col-sm-10">
            <input type="radio" name="dept" value="0">色情低俗
            <input type="radio" name="dept" value="1">不良网站
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">内容描述</label>
        <div class="col-sm-10">
            <textarea cols="80" rows="5" placeholder="请您详细的填写反馈内容" name="desc">
            </textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="lastname" class="col-sm-2 control-label">上传图片</label>
        <div class="col-sm-10">
            <input type="file" class="form-control" name="file">
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">提交</button>
        </div>
    </div>
</form>
</body>
</html>
